export interface Todo{
    id: number;
    text: string;
    completed: boolean;
}

export interface TodoListProps{
    todos: Todo[];
    onDelete: (id: number) => void;
    onToggle: (id: number) => void;
}
